#ifndef SBOTDEF_H
#define SBOTDEF_H

#define SBT_TRUE 1
#define SBT_FALSE 0

// Success states
#define SBT_NERR 0  // Operation successfully completed

// General error states
#define SBT_ERROR -1           // General error
#define SBT_ERR_NOTFOUND -2    // Requested resource or entry not found
#define SBT_ERR_BUSY -3        // System busy, unable to process request
#define SBT_ERR_TIMEOUT -4     // Operation timed out
#define SBT_ERR_PERMISSION -5  // Insufficient permissions, access denied

// Input/output errors
#define SBT_ERR_IO -10      // Input/output error
#define SBT_ERR_EOF -11     // End of file error, file may be corrupted or read unexpectedly
#define SBT_ERR_FORMAT -12  // Format error, input data does not match expected format

// Network errors
#define SBT_ERR_NETWORK -20     // Network error, unable to establish connection
#define SBT_ERR_DISCONNECT -21  // Network disconnected
#define SBT_ERR_PROTOCOL -22    // Protocol error, violation during communication

// Memory or resource errors
#define SBT_ERR_NOMEM -30       // Insufficient memory, unable to allocate required memory
#define SBT_ERR_NORESOURCE -31  // Insufficient resources, unable to fulfill request

// System or internal errors
#define SBT_ERR_INTERNAL -40  // Internal error, possibly a software bug or system failure
#define SBT_ERR_ASSERT -41    // Assertion failed

#endif  // SBOTDEF_H
